/**
 * @Description: 按需加载 vant组件
 * @Author bianpengfei
 * @create 2022/1/2 15:45
 */
import {
  ConfigProvider,
  Popup,
  NavBar,
  Tabbar,
  TabbarItem,
  Icon,
  Empty,
  Collapse,
  CollapseItem,
  Tab,
  Tabs,
  Sticky,
  Col,
  Row,
  Cell,
  CellGroup,
  ImagePreview,
  Sidebar,
  SidebarItem,
  Swipe,
  SwipeItem,
  Popover,
  Picker,
  Button
} from 'vant'

export default {
  install: app => {
    app.use(ConfigProvider)
    app.use(Popup)
    app.use(NavBar)
    app.use(Tabbar)
    app.use(TabbarItem)
    app.use(Icon)
    app.use(Empty)
    app.use(Collapse)
    app.use(CollapseItem)
    app.use(Tab)
    app.use(Tabs)
    app.use(Sticky)
    app.use(Col)
    app.use(Row)
    app.use(ImagePreview)
    app.use(Cell)
    app.use(CellGroup)
    app.use(Sidebar)
    app.use(SidebarItem)
    app.use(Swipe)
    app.use(SwipeItem)
    app.use(Popover)
    app.use(Picker)
    app.use(Button)
  }
}
